/**
 * 
 */
package com.wuzy.core.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wuzy.core.dao.SysMenuMapper;
import com.wuzy.core.pojo.SysMenu;
import com.wuzy.core.service.ISysMenuService;

/**
 * 类名:SysMenuServiceImpl 
 * 描述: 
 * @author wuzy
 * @date 2016年5月19日 下午9:55:38
 */
@Service
public class SysMenuServiceImpl implements ISysMenuService {
	@Autowired
	private SysMenuMapper sysMenuMapper;
	
	public List<SysMenu> getByParentId(String parentId) {
		return sysMenuMapper.selectByParentId(parentId);
	}

	public List<SysMenu> getAllChildrenMenu() {
		return sysMenuMapper.getAllChildrenMenu();
	}

}
